package com.android.zte.pleasehelptest;

public class ServiceHelper {
	private ServiceHelper() {
	}

	private static ServiceHelper mServiceHelper = null;

	public static ServiceHelper getInstance() {
		if (mServiceHelper == null) {
			mServiceHelper = new ServiceHelper();
		}
		return mServiceHelper;
	}

	private ServiceLishenter mServiceLishenter = null;

	public void setServiceListhener(ServiceLishenter lishenter) {
		mServiceLishenter = lishenter;
	}

	public interface ServiceLishenter {
		void notifyTest();
	}

	public void startActivityMeath() {
		if (mServiceLishenter != null) {
			mServiceLishenter.notifyTest();
		}
	}
}
